←Select platform

PublishEvent<T> Method

Summary

Allow components to publish their own typed events to other components.

Syntax

C#
VB
C++
public void PublishEvent<T>( 
   object publisher, 
   T eventArgs 
) 
  
Public Sub PublishEvent(Of T As EventArgs)( _ 
   ByVal publisher As Object, _ 
   ByVal eventArgs As T _ 
)  
public: 
void PublishEventgeneric<typename T> 
(  
   Object^ publisher, 
   _T^_ eventArgs 
)  
where T: EventArgs 

Parameters

publisher
The System.Object publishing the event.

eventArgs
An object that holds the event typed information.

Type Parameters

T
The type of the event to be published.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly